let Xauto;
async function test() {
	Xauto = await require("./")();
	await Xauto.plugin("file");
	let task = await Xauto.task({"":"Xauto:base", task:[
		["file:read", {dir: "from"}],
		["file:write", {dir: "to"}]
	]},'file');
	let watcher = await Xauto.watcher(["file:watch", {dir:"from"}], "file");
	await watcher("file");
}

test().catch(console.log);